package com.sesxh.project.knowledge.biz.dao;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Mapper;
import com.sesxh.frame.dao.mybatis.BaseMapper;
import com.sesxh.frame.dao.ParamMap;
import com.sesxh.project.knowledge.biz.model.Knowledge;
import com.sesxh.frame.core.data.Record;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface KnowledgeMapper extends BaseMapper<Knowledge>{
	
	Long selectListCount(ParamMap params);
	
	List<Record> selectMapListPage(ParamMap params);
	
	List<Knowledge> selectModelListPage(ParamMap params);
	
	
	
	int updateStatus(@Param("id")Long id, @Param("status")Byte status);

	List<Knowledge> selectByids(@Param("ids")List<Long> ids);
}
